/*postcss-pxtransform rn eject enable*/

.select_panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  &.hide {
    .select_panel_mask {
      animation-name: hidePanelMask;
    }
    .select_panel_wrapper {
      animation-name: hideDetailWrapper;
    }
  }
  &_mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    z-index: 11;
    opacity: 0;
    animation-name: showPanelMask;
    animation-duration: .3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
  }
  &_wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    padding-bottom: 100px;
    z-index: 12;
    box-sizing: border-box;
    transform: translateY(100%);
    opacity: 0;
    animation-name: showDetailWrapper;
    animation-duration: .3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
  }
  &_hd {
    line-height: 112px;
    text-align: center;
    font-size: 32px;
    color: #666;
  }
  &_tip {
    padding: 14px 35px;
    background-color: #ddd3b3;
    color: #fff;
    line-height: 42px;
    font-size: 24px;
    margin: 0 40px;
  }
  &_sub {
    height: 106px;
    border-bottom: 2px solid #ddd;
    font-size: 28px;
    margin: 0 40px;
    &_tit {
      display: inline-block;
      border-bottom: 4px solid #232321;
      line-height: 102px;
    }
  }
  &_detail {
    max-height: 546px;
    overflow-y: auto;
    padding-bottom: 20px;
    &_item {
      font-size: 24px;
      line-height: 74px;
      &.selected {
        background-color: #232321;
        color: #FFFFFF
      }
    }
    &_inner {
      padding: 0 40px;
    }
  }
  &_ft {
    display: flex;
    background: #232321;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    &_btn {
      width: 100%;
      flex: 1;
      line-height: 100px;
      font-size: 28px;
      color: #FFFFFF;
      background: #232321;
      border: 0;
      border-radius: 0;
      &.disabled {
        color: rgba(255, 255, 255, .4);
      }
    }
    &_split {
      width: 1px;
      height: 30px;
      background: #3b3b3b;
      margin-top: 35px;
    }
  }
}

@keyframes showPanelMask {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes showDetailWrapper {
  0% { opacity: 0; transform: translateY(100%) }
  100% { opacity: 1; transform: translateY(0) }
}

@keyframes hidePanelMask {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes hideDetailWrapper {
  0% { opacity: 1; transform: translateY(0) }
  100% { opacity: 0; transform: translateY(100%) }
}
